package com.service.infocenter.imp;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mapper.infocenter.RoleMapper;
import com.po.RoleInfo;
import com.service.infocenter.RoleService;


@Service
public class RoleServiceImp implements RoleService {

	@Resource(name="roleMapper")
	public RoleMapper roleMapper;
	
	

	@Override
	public String getRoleID(String role_name) {
		String i=roleMapper.getRoleID(role_name);
		return i;
	}



	@Override
	public List<RoleInfo> getRoleList() {
		List<RoleInfo> list=roleMapper.getRoleList();
		return list;
	}
	

	
	

}
